﻿using Ingenta.IRepository;
using Ingenta.IServices;
using Ingenta.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ingenta.Services
{
    public partial class UserInfoServices : BaseServices<UserInfo>, IUserInfoServices
    {
        IUserInfoRepository dal;

        //把dal复制给dal是为了能拿到UserInfoServices中自己特殊的方法。
        //base.baseDal = dal;为拿到父类的公用方法。
        public UserInfoServices(IUserInfoRepository dal)
        {
            this.dal = dal;
            base.baseDal = dal;
        }
    }
}
